package com.entrogy.bean;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import net.sf.json.JSONArray;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class StudentEntity implements Serializable {
	private int id;

	@Excel(name="姓名",orderNum = "0")
	private String studentName;//学生姓名

    private int studentThdid;

	@Excel(name="学籍",orderNum = "1")
	private int studentXueji;//学生学籍

	@Excel(name="年级",orderNum = "2")
	private int gradeId;//年级id

	@Excel(name="班级",orderNum = "3")
	private int courseId;//班级id

	@Excel(name="身份证号",orderNum = "4")
	private String studentIdentityid;//身份证号

	@Excel(name="学生性别",replace = {"男_1","女_2"},orderNum = "4")
	private int sex;//学生性别

	@Excel(name = "学生生日",exportFormat = "yyyy-MM-dd",orderNum = "5")
	private Date studentBirthday; //学生生日

	private String studentBase64;//学生照片转码

	private String dormitory;
	private String parent1Id;//学生家长1
	private String parent2Id;//学生家长2
	private int schoolCode;//学校id
	private int departmentId;//部门id
	private int isliveinschool;//是否在校
	private int schoolbusId;//校车id
	private String schoolbusName;//校车名称
	private List<ParentVisitorEntity> parents;
	private String courseName;// 班级名称 format bean
	private int isFaceSwipe;// 是否刷脸 1--已刷脸 0--没有刷脸 format bean
	private int needpick; // 是否家长接
	private int isAboard;// 是否上车 1-- 是  2 否
	private int leaveType;// 1--自行出校 2--家长接 3--坐校车 4--托管
	private String allowTime;// 允许时间 1--中午 2--下午3--晚上
	private int schoolrollId;//
	private String  identity;//
	private String  photo;
	private String schoolbuslineId;
	private String schoolbusstationId;
	private String studentcol;
	private String icNumber;//和实义德 统一的标识字段
	private int isPay;//form bean 1--已支付 0--未支付
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date payTime;//form bean 开通时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date expiryDate;//form bean 有效期

	// 实义德ai16后台对应的id
	private Integer studentThdidAi16Id;

	// id卡信息
	private String idNumber;

	// 楼层id
	private Integer floor;

	// 学生已授权设备列表
	private JSONArray deviceList;

	//所住宿舍楼层的id
	private Integer floorId;

	public String getIdNumber() {
		return idNumber;
	}

	public void setIdNumber(String idNumber) {
		this.idNumber = idNumber;
	}

	public Integer getStudentThdidAi16Id() {
		return studentThdidAi16Id;
	}

	public void setStudentThdidAi16Id(Integer studentThdidAi16Id) {
		this.studentThdidAi16Id = studentThdidAi16Id;
	}

	public JSONArray getDeviceList() {
		return deviceList;
	}

	public void setDeviceList(JSONArray deviceList) {
		this.deviceList = deviceList;
	}

	public StudentEntity() {
	}

	public Integer getFloorId() {
		return floorId;
	}

	public void setFloorId(Integer floorId) {
		this.floorId = floorId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public int getStudentThdid() {
		return studentThdid;
	}

	public void setStudentThdid(int studentThdid) {
		this.studentThdid = studentThdid;
	}

	public int getStudentXueji() {
		return studentXueji;
	}

	public void setStudentXueji(int studentXueji) {
		this.studentXueji = studentXueji;
	}

	public int getGradeId() {
		return gradeId;
	}

	public void setGradeId(int gradeId) {
		this.gradeId = gradeId;
	}

	public int getCourseId() {
		return courseId;
	}

	public void setCourseId(int courseId) {
		this.courseId = courseId;
	}

	public String getStudentIdentityid() {
		return studentIdentityid;
	}

	public void setStudentIdentityid(String studentIdentityid) {
		this.studentIdentityid = studentIdentityid;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public Date getStudentBirthday() {
		return studentBirthday;
	}

	public void setStudentBirthday(Date studentBirthday) {
		this.studentBirthday = studentBirthday;
	}

	public String getStudentBase64() {
		return studentBase64;
	}

	public void setStudentBase64(String studentBase64) {
		this.studentBase64 = studentBase64;
	}

	public String getDormitory() {
		return dormitory;
	}

	public void setDormitory(String dormitory) {
		this.dormitory = dormitory;
	}

	public String getParent1Id() {
		return parent1Id;
	}

	public void setParent1Id(String parent1Id) {
		this.parent1Id = parent1Id;
	}

	public String getParent2Id() {
		return parent2Id;
	}

	public void setParent2Id(String parent2Id) {
		this.parent2Id = parent2Id;
	}

	public int getSchoolCode() {
		return schoolCode;
	}

	public void setSchoolCode(int schoolCode) {
		this.schoolCode = schoolCode;
	}

	public int getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(int departmentId) {
		this.departmentId = departmentId;
	}

	public int getIsliveinschool() {
		return isliveinschool;
	}

	public void setIsliveinschool(int isliveinschool) {
		this.isliveinschool = isliveinschool;
	}

	public int getSchoolbusId() {
		return schoolbusId;
	}

	public void setSchoolbusId(int schoolbusId) {
		this.schoolbusId = schoolbusId;
	}

	public String getSchoolbusName() {
		return schoolbusName;
	}

	public void setSchoolbusName(String schoolbusName) {
		this.schoolbusName = schoolbusName;
	}

	public List<ParentVisitorEntity> getParents() {
		return parents;
	}

	public void setParents(List<ParentVisitorEntity> parents) {
		this.parents = parents;
	}

	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public int getIsFaceSwipe() {
		return isFaceSwipe;
	}

	public void setIsFaceSwipe(int isFaceSwipe) {
		this.isFaceSwipe = isFaceSwipe;
	}

	public int getNeedpick() {
		return needpick;
	}

	public void setNeedpick(int needpick) {
		this.needpick = needpick;
	}

	public int getIsAboard() {
		return isAboard;
	}

	public void setIsAboard(int isAboard) {
		this.isAboard = isAboard;
	}

	public int getLeaveType() {
		return leaveType;
	}

	public void setLeaveType(int leaveType) {
		this.leaveType = leaveType;
	}

	public String getAllowTime() {
		return allowTime;
	}

	public void setAllowTime(String allowTime) {
		this.allowTime = allowTime;
	}

	public int getSchoolrollId() {
		return schoolrollId;
	}

	public void setSchoolrollId(int schoolrollId) {
		this.schoolrollId = schoolrollId;
	}

	public String getIdentity() {
		return identity;
	}

	public void setIdentity(String identity) {
		this.identity = identity;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getSchoolbuslineId() {
		return schoolbuslineId;
	}

	public void setSchoolbuslineId(String schoolbuslineId) {
		this.schoolbuslineId = schoolbuslineId;
	}

	public String getSchoolbusstationId() {
		return schoolbusstationId;
	}

	public void setSchoolbusstationId(String schoolbusstationId) {
		this.schoolbusstationId = schoolbusstationId;
	}

	public String getStudentcol() {
		return studentcol;
	}

	public void setStudentcol(String studentcol) {
		this.studentcol = studentcol;
	}

	public String getIcNumber() {
		return icNumber;
	}

	public void setIcNumber(String icNumber) {
		this.icNumber = icNumber;
	}

	public int getIsPay() {
		return isPay;
	}

	public void setIsPay(int isPay) {
		this.isPay = isPay;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public Date getExpiryDate() {
		return expiryDate;
	}

	public void setExpiryDate(Date expiryDate) {
		this.expiryDate = expiryDate;
	}

	public Integer getFloor() {
		return floor;
	}

	public void setFloor(Integer floor) {
		this.floor = floor;
	}

}
